package com.microservice.base.service;

import com.microservice.base.entity.Org;

import java.util.HashMap;
import java.util.Map;

/**
 * @author jbx
 * @package_name com.microservice.base.service
 * @create_date 2020/12/7 10:03
 */
public interface TbOrgSV extends BaseSV<Org>{
  /**
   * 保存org
   * @param org
   */
  @Override
  void save(Org org);

  /**
   * 将树关系转换为组织关系
   * @param operationType
   */
  void TreetoOrg(String operationType);
  HashMap ChildTreetoOrg(HashMap map,String operationType);

  Map<Object, Object> queryAllCount();
}
